@charset "UTF-8";
@import url('../common/common.css');
@import url('../common/scrollbar_dark.css');
@import url('../common/table_dark.css');

.main-container {
    width: 100%;
    height: calc(100% - 66px);
    display: flex;
    overflow-y: auto;

    .table-container {
        flex: 1;
        height: 100%;
        padding: 40px;

        .select-wrap {
            .form-group {
                display: inline-block;
            }

            .form-group+.form-group {
                margin-left: 16px;
            }

            .label-text {
                color: #ffffff;
            }
        }

        .table-wrap {
            width: 100%;
            height: auto;
            background-color: rgba($color: #071b35, $alpha: 0.6);
            border: 1px solid #156a97;
            padding: 16px;

            table {
                &.dataTable.datatable-xLarge #select-checkbox:before {
                    top: 50% !important;
                }

                &.dataTable.datatable-xLarge th.selected #select-checkbox:after {
                    top: 50% !important;
                }

                &.dataTable.datatable-xLarge tbody td.select-checkbox::before,
                &.dataTable.datatable-xLarge tbody th.select-checkbox::before {
                    top: 42px;
                }

                &.dataTable.datatable-xLarge tr.selected td.select-checkbox:after,
                &.dataTable.datatable-xLarge tr.selected th.select-checkbox:after {
                    top: 42px;
                }

                tbody tr td {
                    border-bottom: 1px solid rgba($color: #274568, $alpha: 0.8);
                    padding: 18px;
                    font-size: 16px;
                    line-height: 16px !important;
                    height: 48px !important;
                }

                .rank {
                    width: 27px;
                    height: 27px;
                    line-height: 27px;
                    background-color: #2d4b64;
                    border-radius: 50%;
                    text-align: center;
                    margin-left: 8px;
                }

                .aidicon-timetable {
                    color: #ffcb4d;
                    position: relative;
                    top: 3px;
                    margin-right: 12px;
                }

                button+button {
                    margin-left: 12px;
                }
            }
        }
    }
}

.formDialog {
    &.idlg-outer {
        background-color: #1a2f42;
    }

    .idlg-header {
        background-color: #1a2f42;
        padding: 12px 16px;

        .idlg-title {
            color: #ffffff;
            font-size: 16px;
            font-weight: normal;
        }
    }

    .idlg-main {
        background-color: #12212f;
        overflow-y: auto;
        padding-bottom: 0 !important;
    }

    .idlg-footer {
        background-color: #1a2f42;
        margin-top: 20px !important;
        padding-bottom: 3px;
    }

    .form-horizon {
        border: none;
    }
}

.relateDialog {
    &.idlg-outer {
        background-color: #1a2f42;
    }

    .idlg-header {
        background-color: #1a2f42;
        padding: 12px 16px;

        .idlg-title {
            color: #ffffff;
            font-size: 16px;
            font-weight: normal;
        }
    }

    .idlg-main {
        background-color: #12212f;
        overflow-y: auto;
        padding: 20px 40px !important;
    }

    .idlg-footer {
        background-color: #1a2f42;
        margin-top: 20px !important;
        padding-bottom: 3px;
    }
}

.select2-dropdown {
    z-index: 99999 !important;
}